package com.henghong.risk.service.impl;

import com.henghong.risk.dto.ProjectListDTO;
import com.henghong.risk.mapper.ProjectListMapper;
import com.henghong.risk.service.ProjectListService;
import com.henghong.risk.vo.ProjectListVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class ProjectListServiceImpl implements ProjectListService {

    @Autowired
    private ProjectListMapper projectListMapper;

    // 案件検索結果
    public List<ProjectListVo> btnPjSearchClick(ProjectListDTO projectListDTO) {
        List<ProjectListVo> projectListVoList = projectListMapper.selectProjectList(projectListDTO);
        return projectListVoList;
    }
}
